m = 101
a = sum([i**2 for i in range(m)])
b = sum([i for i in range(m)])**2
print(a)
print(b)
print(b-a)
